package com.gxa.hualianeshop.common.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author bill
 * @date 2023/3/31 10:02
 */
@ApiModel("分页的dto对象")
@Data
public class PageDto implements Serializable {
    @ApiModelProperty(name = "page",value = "页码")
    private Integer page;
    @ApiModelProperty(name = "size",value = "每页记录数",allowEmptyValue = true,allowableValues = "10")
    private Integer size = 10;
}
